<!--
 * @Description: 
 * @Author: rendc
 * @Date: 2022-08-31 11:34:38
 * @LastEditors: rendc
 * @LastEditTime: 2022-08-31 14:18:01
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>表格</title>
  <style>
    table {
      /* 边框合并 */
      border-collapse: collapse;
    }
  </style>
</head>

<body>
  <table border="1" bgColor="pink" width="500">
    <!-- cellpadding="10" -->
    <!-- <table cellspacing="0" border="1"> -->
    <!-- <thead>
      表头
    </thead> -->
    <caption>信息表</caption>
    <tr>
      <td>姓名</td>
      <td width="40"></td>
      <td width="40">性别</td>
      <td width="40"></td>
      <td width="40">出生年月</td>
      <td width="40"></td>
    </tr>
    <tr>
      <td>张三</td>
      <td>男</td>
      <td>23</td>
    </tr>
    <tr>
      <td>李四</td>
      <td>女</td>
      <td>35</td>
    </tr>
  </table>
</body>

</html>